<?php

class Nld_Filter
{
	static function filter($value, $rule, $options)
	{
		$classname 	= 'Zend_Filter_'.$rule;
		$class			= new $classname($options);
		$value 			= $class->filter($value);
		return $value;
	}
}